package com.qianfeng.smartdevice.pojo;


import org.springframework.util.StringUtils;

public class Categories implements CheckNull {

  private Long id;
  private String categoryname;
  private String txcommand;
  private String rxcommand;
  private String commandname;
  private Long status;


  @Override
  public boolean isNull() {
    return StringUtils.isEmpty(categoryname);
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getCategoryname() {
    return categoryname;
  }

  public void setCategoryname(String categoryname) {
    this.categoryname = categoryname;
  }


  public String getTxcommand() {
    return txcommand;
  }

  public void setTxcommand(String txcommand) {
    this.txcommand = txcommand;
  }


  public String getRxcommand() {
    return rxcommand;
  }

  public void setRxcommand(String rxcommand) {
    this.rxcommand = rxcommand;
  }


  public String getCommandname() {
    return commandname;
  }

  public void setCommandname(String commandname) {
    this.commandname = commandname;
  }


  public Long getStatus() {
    return status;
  }

  public void setStatus(Long status) {
    this.status = status;
  }

}
